package Test;

import static org.junit.Assert.*;

import java.util.List;

import org.junit.Assert;
import org.junit.Test;

import com.oocl.dao.impl.PersonDaoImpl;
import com.oocl.server.po.Person;


public class PersonDaoImplTest {
	
	private PersonDaoImpl pd = new PersonDaoImpl();

//	@Test
//	public void testBelong() {
//		Person p = pd.belongDetp();
//		Assert.assertTrue(p!=null);
//	}
	
	@Test
	public void testDeptPerson() {
		List<Person> lp = pd.showDeptPerson(2);
		Assert.assertTrue(lp!=null);
	}

}
